import java.io.IOException;

public class Demo {
	public static void main(String[] args) {

		try {
		 Runtime.getRuntime().exec("cmd /c start  ping baidu.com ");
		  
		} catch (Exception e) {
			e.printStackTrace();
		}
	}
}
